<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript">
	//加入收藏
	function AddFavorite(url, title) {
		/* sURL = encodeURI(sURL);
		try {
			window.external.addFavorite(sURL, sTitle);
		} catch (e) {
			try {
				window.sidebar.addPanel(sTitle, sURL, "");
			} catch (e) {
				alert("加入收藏失败，请使用Ctrl+D进行添加,或手动在浏览器里进行设置.");
			}
		} */
		 if(confirm("网站名称："+title+"\n网址："+url+"\n确定添加收藏?")){
		        var ua = navigator.userAgent.toLowerCase();
		        if(ua.indexOf("msie 8")>-1){
		            external.AddToFavoritesBar(url,title,'');//IE8
		        }else{
		            try {
		                window.external.addFavorite(url, title);
		            } catch(e) {
		                try {
		                    window.sidebar.addPanel(title, url, "");//firefox
		                } catch(e) {
		                    alert("加入收藏失败，请使用Ctrl+D进行添加");
		                }
		            }
		        }
		    }
		    return false;
	}
	
</script>

</head>
<body>
	<div class="mt2 dibu">
				<span><a href="http://www.90tuku.com"
					target="_blank"><font color="#0b690b">联系我们...</font></a></span>
					<label id="ssddsd">&nbsp;&nbsp;
					如果您觉得《九龙全年历史图库》好，请分享给其他彩友。本站资料永久免费！</label>
					<a href="javascript:void(0)" onclick="AddFavorite('http://www.90tuku.com',document.title)">90tuku.com（点击收藏）</a>
	</div>
</body>
</html>